<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html >
<html>
<head>
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
	<title>显示学生信息</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
 	<script src="js/jquery-2.1.4.js"></script>
	<script src="js/bootstrap.js"></script>
	<script src="js/npm.js"></script>
    
    <!-- Bootstrap -->
    <link href="css/jquery-ui-1.9.2.custom.css" rel="stylesheet">
    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/bootstrap-theme.css" rel="stylesheet">
    <link href="css/buttons.css" rel="stylesheet">

</head>
<body>
<s:include value="navigate.jsp"></s:include>
<div class="container-fluid">
	<div class="row-fluid">
		<div class="span12">
			<table class="table table-hover">
				<thead>
					<tr>
						<th>学号</th>
						<th>姓名</th>
						<th>专业</th>
						<th>性别</th>
						<th>邮箱</th>
						<th>修改</th>
						<th>删除</th>
					</tr>
				</thead>
				<tbody>
					<s:iterator value="students">
						<tr>
							<td><s:property value="sid" /></td>
							<td><s:property value="sname" /></td>
							<td><s:property value="subject" /></td>
							<td><s:property value="ssex" /></td>
							<td><s:property value="semail" /></td>
							<td><a
								href="ModifyStudent.action?student.id=<s:property value="id"/>">修改</a></td>
							<td><a
								href="DeleteStudent.action?student.id=<s:property value="id"/>">删除</a></td>
						</tr>
					</s:iterator>
				</tbody>
			</table>
		</div>
	</div>
</div>
<jsp:include page="copyright.jsp"></jsp:include>
</body>
</html>